package com.example.sell.bean;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * Created by IntelliJ IDEA.
 *商品订单详情
 * @author ouyangzhixiang
 * @date 2018/6/25
 */
@Entity
@Data
public class OrderDetail {
    @Id
    private String detailId;
    /** 订单id*/
    private String orderId;
    /** 商品Id*/
    private String productId;
    /** 商品名称*/
    private String productName;
    /**单价*/
    private BigDecimal productPrice;
    /** 商品数量*/
    private Integer productQuantity;
    /** 商品图标*/
    private String productIcon;

}
